package com.kmust.dream.wanderingdream.product.service;

import com.kmust.dream.wanderingdream.comm.pojo.ResultBean;
import com.kmust.dream.wanderingdream.product.entity.ProductPropertyValue;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface ProductPropertyValueService extends IService<ProductPropertyValue> {

    ResultBean getProductPropertyValueById(Integer valueId);

    ResultBean getProductPropertyValueByNameById(Integer nameId);

    ResultBean getPropertyValues();

    ResultBean addPropertyValue(ProductPropertyValue productPropertyValue);

    ResultBean updatePropertyValue(ProductPropertyValue productPropertyValue);

    ResultBean deletePropertyValue(Integer valueId);
}
